Uses of Class
edu.uky.ai.lp.Result

Packages that use Result 
Package Description
edu.uky.ai.lp
Contains classes for representing, playing, and displaying a game of "Hunt the Wumpus".
edu.uky.ai.lp.ai
Contains classes for creating agents who play "Hunt the Wumpus".
  • Uses of Result in edu.uky.ai.lp

    Fields in edu.uky.ai.lp declared as Result 
    Modifier and Type Field Description
    static Result Result.EAT
    A special result indicating that the player was eaten by the wumpus
    static Result Result.FALL
    A special result indicating that the player fell into a pit
    static Result Result.GRAB
    A special result indicating that the player picked up the gold
    static Result Result.NOTHING
    A special result indicating that the player's action has no effect on the game state
    static Result Result.WIN
    A special result indicating that the player won
  • Uses of Result in edu.uky.ai.lp.ai

    Methods in edu.uky.ai.lp.ai with parameters of type Result 
    Modifier and Type Method Description
    void Agent.observe​(Result result)
    Alerts the player to the result of the most recent action.
    void HumanAgent.observe​(Result result)  
    void LogicAgent.observe​(Result result)